package ycl.important.common.base.service;

import ycl.important.common.base.entity.BaseMsgEntity;

/**
 * 消息逻辑层
 *
 * @author: YCL
 * @date: 2021-08-23 20:45:40
 */
public interface BaseMsgService<T extends BaseMsgEntity> extends BaseService<T> {

	/**
	 * 消息批量已读
	 * @param userId 用户id
	 * @param t 消息实体类
	 * @param <E> 继承消息实体基类的类
	 */
	<E extends BaseMsgEntity> void readBatch(Long userId, Class<E> t);
}
